|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Output
org.eclipse.vtp.framework.interactions.voice.vxml.BasicOutput
org.eclipse.vtp.framework.interactions.voice.vxml.ValueOutput
public class ValueOutput
The ValueOutput represents the <value> VXML element.
This element causes the result of the expression to be rendered to the caller
with TTS.
| Field Summary | |
|---|---|
protected java.lang.String |
expression
The expression to evaluate and render with TTS. |
| Constructor Summary | |
|---|---|
ValueOutput(java.lang.String expression)
Creates a new instance of ValueOutput with the specified
expression. |
|
| Method Summary | |
|---|---|
java.lang.String |
getExpression()
Returns the expression to evaluate and render with TTS. |
void |
setExpression(java.lang.String expression)
Sets the expression to evaluate and render with TTS. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this condition to the supplied set. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String expression
| Constructor Detail |
|---|
public ValueOutput(java.lang.String expression)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
ValueOutput with the specified
expression.
expression - The expression to evaluate and render with TTS.
java.lang.IllegalArgumentException - If the supplied expression is empty.
java.lang.NullPointerException - If the supplied expression is
null.| Method Detail |
|---|
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
java.lang.IllegalArgumentException - If the supplied expression is empty.
java.lang.NullPointerException - If the supplied expression is
null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||